package com.data.modules.online.cgform.enhance.impl.http;

import com.alibaba.fastjson.JSONObject;
import java.util.List;
import java.util.Map;

import com.data.modules.online.cgform.entity.OnlCgformEnhanceJava;
import com.data.modules.online.cgform.enhance.impl.http.base.CgformEnhanceHttpInter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component("cgformEnhanceJavaListHttpImpl")
public class CgformEnhanceHttpListImpl implements CgformEnhanceHttpInter {

    private static final Logger f137a = LoggerFactory.getLogger(CgformEnhanceHttpListImpl.class);

    @Override
    public void execute(String tableName, List<Map<String, Object>> dataList, OnlCgformEnhanceJava enhance) {
        JSONObject jSONObject = new JSONObject();
        jSONObject.put("tableName", tableName);
        jSONObject.put("dataList", dataList);
        sendPost(jSONObject, enhance);
    }
}
